﻿using System.Collections.Generic;
using GuRenFang.Service.Entity;

namespace GuRenFang.Service.IBiz
{
   public interface IPackagesBiz
    {
        IEnumerable<Packages> GetAll();
        Packages GetById(int id);
        void Create(Packages news);
        void Delete(int id);
        void Update(Packages news);
        void Save();
        IEnumerable<Packages> GetPackagesByPages(out int totalRecord, int? pageIndex = 1, int? pageSize = 10, string orderFiled = "Price");
    }
}
